package com.rc.saas.mini.model.enterprise;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-07-25
 */

@ApiModel(value=" enterprise_member ", description=" 企业会员信息(enterprise),跟member是一对一的关系,同时自动分配tenant_user帐号 ")
public class EnterpriseMember extends BaseModel{ 

    @ApiModelProperty(value = "ID")
    private Long enterpriseId;
 
    @ApiModelProperty(value = "运营商")
    private String tenantCode;
 
    @ApiModelProperty(value = "会员ID")
    private Long memberId;
 
    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;
 
    @ApiModelProperty(value = "手机号码")
    private String enterpriseMobile;
 
    @ApiModelProperty(value = "企业类型, 0普通企业会员 1商户企业会员,默认0")
    private String enterpriseType;
 
    @ApiModelProperty(value = "统一社会信用代码")
    private String license;
 
    @ApiModelProperty(value = "详细地址")
    private String address;
 
    @ApiModelProperty(value = "邮箱")
    private String email;
 
    @ApiModelProperty(value = "联系电话")
    private String phone;
 
    @ApiModelProperty(value = "纳税人识别号")
    private String taxPayerCode;
 
    @ApiModelProperty(value = "开户行")
    private String enterpriseBank;
 
    @ApiModelProperty(value = "企业银行账户")
    private String enterpriseBankAccount;
 
    @ApiModelProperty(value = "公司法人")
    private String enterpriseOwner;
 
    @ApiModelProperty(value = "法人电话")
    private String ownerMobile;
 
    @ApiModelProperty(value = "联系人")
    private String contactName;
 
    @ApiModelProperty(value = "企业相关材料图片")
    private String companyImg1;
 
    @ApiModelProperty(value = "企业相关材料图片")
    private String companyImg2;
 
    @ApiModelProperty(value = "企业相关材料图片")
    private String companyImg3;
 
    @ApiModelProperty(value = "企业相关材料图片")
    private String companyImg4;
 
    @ApiModelProperty(value = "企业相关材料图片")
    private String companyImg5;
 
    @ApiModelProperty(value = "授信额度")
    private BigDecimal creditAmount;
 
    @ApiModelProperty(value = "剩余授信金额,默认等于授信额度")
    private BigDecimal remainCreditAmount;
 
    @ApiModelProperty(value = "企业充值余额")
    private BigDecimal enterpriseAccount;
 
    @ApiModelProperty(value = "企业赠送余额")
    private BigDecimal gainAmount;
 
    @ApiModelProperty(value = "企业充值总金额")
    private BigDecimal allRechargeEnterpriseAccount;
 
    @ApiModelProperty(value = "审核人")
    private String auditor;
 
    @ApiModelProperty(value = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;
 
    @ApiModelProperty(value = "备注")
    private String remark;
 
    @ApiModelProperty(value = "状态(0正常 1停用) 默认 0")
    private String status;
 
    @ApiModelProperty(value = "迁移时原ID（enterprise_id）")
    private Long migrateId;
 
    @ApiModelProperty(value = "创建人")
    private String createdBy;
 
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    @ApiModelProperty(value = "企业等级")
    private String enterpriseLevel;
 
    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getEnterpriseMobile() {
        return enterpriseMobile;
    }

    public void setEnterpriseMobile(String enterpriseMobile) {
        this.enterpriseMobile = enterpriseMobile;
    }

    public String getEnterpriseType() {
        return enterpriseType;
    }

    public void setEnterpriseType(String enterpriseType) {
        this.enterpriseType = enterpriseType;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTaxPayerCode() {
        return taxPayerCode;
    }

    public void setTaxPayerCode(String taxPayerCode) {
        this.taxPayerCode = taxPayerCode;
    }

    public String getEnterpriseBank() {
        return enterpriseBank;
    }

    public void setEnterpriseBank(String enterpriseBank) {
        this.enterpriseBank = enterpriseBank;
    }

    public String getEnterpriseBankAccount() {
        return enterpriseBankAccount;
    }

    public void setEnterpriseBankAccount(String enterpriseBankAccount) {
        this.enterpriseBankAccount = enterpriseBankAccount;
    }

    public String getEnterpriseOwner() {
        return enterpriseOwner;
    }

    public void setEnterpriseOwner(String enterpriseOwner) {
        this.enterpriseOwner = enterpriseOwner;
    }

    public String getOwnerMobile() {
        return ownerMobile;
    }

    public void setOwnerMobile(String ownerMobile) {
        this.ownerMobile = ownerMobile;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getCompanyImg1() {
        return companyImg1;
    }

    public void setCompanyImg1(String companyImg1) {
        this.companyImg1 = companyImg1;
    }

    public String getCompanyImg2() {
        return companyImg2;
    }

    public void setCompanyImg2(String companyImg2) {
        this.companyImg2 = companyImg2;
    }

    public String getCompanyImg3() {
        return companyImg3;
    }

    public void setCompanyImg3(String companyImg3) {
        this.companyImg3 = companyImg3;
    }

    public String getCompanyImg4() {
        return companyImg4;
    }

    public void setCompanyImg4(String companyImg4) {
        this.companyImg4 = companyImg4;
    }

    public String getCompanyImg5() {
        return companyImg5;
    }

    public void setCompanyImg5(String companyImg5) {
        this.companyImg5 = companyImg5;
    }

    public BigDecimal getCreditAmount() {
        return creditAmount;
    }

    public void setCreditAmount(BigDecimal creditAmount) {
        this.creditAmount = creditAmount;
    }

    public BigDecimal getRemainCreditAmount() {
        return remainCreditAmount;
    }

    public void setRemainCreditAmount(BigDecimal remainCreditAmount) {
        this.remainCreditAmount = remainCreditAmount;
    }

    public BigDecimal getEnterpriseAccount() {
        return enterpriseAccount;
    }

    public void setEnterpriseAccount(BigDecimal enterpriseAccount) {
        this.enterpriseAccount = enterpriseAccount;
    }

    public BigDecimal getGainAmount() {
        return gainAmount;
    }

    public void setGainAmount(BigDecimal gainAmount) {
        this.gainAmount = gainAmount;
    }

    public BigDecimal getAllRechargeEnterpriseAccount() {
        return allRechargeEnterpriseAccount;
    }

    public void setAllRechargeEnterpriseAccount(BigDecimal allRechargeEnterpriseAccount) {
        this.allRechargeEnterpriseAccount = allRechargeEnterpriseAccount;
    }

    public String getAuditor() {
        return auditor;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getMigrateId() {
        return migrateId;
    }

    public void setMigrateId(Long migrateId) {
        this.migrateId = migrateId;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

    public String getEnterpriseLevel() {
        return enterpriseLevel;
    }

    public void setEnterpriseLevel(String enterpriseLevel) {
        this.enterpriseLevel = enterpriseLevel;
    }

}
